package com.aggregate.pay.pingan.bean;

import com.aggregate.pay.pingan.enums.CheckStatus;
import com.aggregate.pay.pingan.jackson.converter.CheckStatusDeserialize;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/**
 * 门店提审/审核接口响应data参数对象，需要将CommonResult对象的属性data解密并转换成该对象
 * @author Moyq5
 * @date 2017年6月24日
 */
public class ShopCheckResult {

	/**
	 * 门店编号，必填
	 */
	@JsonProperty("shop_no")
	private String shopNo;
	
	/**
	 * 门店状态，必填
	 */
	@JsonDeserialize(converter = CheckStatusDeserialize.class)
	private CheckStatus status;

	public String getShopNo() {
		return shopNo;
	}

	public void setShopNo(String shopNo) {
		this.shopNo = shopNo;
	}

	public CheckStatus getStatus() {
		return status;
	}

	public void setStatus(CheckStatus status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "ShopCheckResult [shopNo=" + shopNo + ", status=" + status + "]";
	}

}
